﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DJY.Domain.Entity.WorkFlow
{
    /// <summary>
    /// 工作流版本 实体
    /// </summary>
    public class WFVersionEntity
    {
        /// <summary>
        /// 工作流id
        /// </summary>
        [Key]
		[StringLength(36)]
    	public string WFID
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 版本
        /// </summary>
        [Key]
    	public int Version
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 备注
        /// </summary>
		[StringLength(200)]
    	public string Remark
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 删除标记
        /// </summary>
    	public bool F_DeleteMark
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 新增时间
        /// </summary>
    	public DateTime F_CreateTime
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 新增人
        /// </summary>
		[StringLength(36)]
    	public string F_CreateUser
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 开始事件
        /// </summary>
		[StringLength(200)]
    	public string Before
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 结束事件
        /// </summary>
		[StringLength(200)]
    	public string After
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 节点忽略事件
        /// </summary>
		[StringLength(200)]
        public string SkipEvent
        {
            get;
            set;
        }

        /// <summary>
        /// 业务页面
        /// </summary>
        [StringLength(255)]
    	public string BusinessUrl
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 审核页面
        /// </summary>
		[StringLength(255)]
    	public string AuditUrl
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 业务模型
        /// </summary>
		[StringLength(255)]
    	public string ModelKey
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 页面尺寸（width,height）
        /// </summary>
		[StringLength(15)]
    	public string Size
    	{
    		get;
    		set;
    	}
        
    }
}
